Api.SetConfiguredIoCount method
Configures a number of simulated I/O modules. The number of simulated I/Os is determined by how much the given value exceeds the number of the real hardware. If the given number is greater than the number of the real I/Os, KINGSTAR will display all real I/Os plus simulated ones. For example, if you have five real I/Os and you give the number seven, you'll get five real I/Os plus two simulated I/Os. If the given number is less than or equal to the number of the real I/Os, KINGSTAR will display all real I/Os without simulated ones.
Namespace: IntervalZero.KINGSTAR.OpcUa.Api
Assembly: IntervalZero.KINGSTAR.OpcUa.Api (in IntervalZero.KINGSTAR.OpcUa.Client.dll) Version: 4.4.0.0
Syntax
public KsError SetConfiguredIoCount(
int Count
)
Public Function SetConfiguredIoCount(
Count As Integer
) As KsError
Parameters
Count
Type: int
The number of simulated I/O modules. The maximum is 256.
Return value
Type: KsError
A return code of a method.
Remarks
This method is only available for use with simulated I/O modules. Simulated I/O modules must be created using SetConfiguredIoCount before they are configured with ConfigureIo. This method must be called after Create and before Start. Once the link is established the simulated I/O modules cannot be modified.
Usable EtherCAT states
ecatOffline
Examples
N/A
See also